cd output 
rm -rf *
cp -r ../src/* .
arm-linux-g++ -c *.cpp
cp ../lib/liblua.a .
arm-linux-g++ -o com_server *.o *.a -lm -lpthread -static